﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LevelDB
{
    public struct LevelMessage: IDisposable
    {
        public enum MessageType: byte
        {
            WriteChunk,
            ReadChunk,
        }

        public MessageType type;
        public Vector3Int location;
        public ChunkHandle chunk;

        public void Dispose()
        {
            chunk = null;
        }
    }
}
